package com.pyound.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
@TableName("fastdfs_data")
public class FastdfsDataEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	@JsonSerialize(using= ToStringSerializer.class)//防止雪花算法精度丢失，使用序列化将long转成String
	private Long id;
	/**
	 * 
	 */
	private String originalFileName;
	/**
	 * 
	 */
	private String fileName;
	/**
	 * 
	 */
	private String groupName;
	/**
	 * 
	 */
	private String filePath;
	/**
	 * 
	 */
	private Long fileSize;
	/**
	 *
	 */
	private String fileExt;
	/**
	 * 
	 */
	private String accessAddress;
	/**
	 * 
	 */
	private Date createTime;

}
